package com.lifa.service.impl;
/**
 * 123
 */
import com.lifa.dao.TuihuotongjiDao;
import com.lifa.entity.Tuihuotongji;
import com.lifa.service.TuihuotongjiService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public class TuihuotongjiServiceImpl implements TuihuotongjiService {
    @Autowired
    private TuihuotongjiDao tuihuotongjiDao;

    @Override
    public long getTotalCount(String fuwu_Name) {
        return tuihuotongjiDao.getTotalCount(fuwu_Name);
    }

    @Override
    public List<Tuihuotongji> query(String fuwu_Name, int offset, int limit) {
        return tuihuotongjiDao.query(fuwu_Name,offset,limit);
    }
}
